package com.china.produce.system.util;

import java.util.List;

/**
 * @ClassName
 * @Author niujie
 * @Version
 * @Description
 * @CreateTime 2023/3/8
 */
public class LoginNeedlessUtils {

    private static final InheritableThreadLocal<List<String>> threadLocal = new InheritableThreadLocal<>();

    public static void setLocal(List<String> elements) {

        threadLocal.set(elements);
    }

    public static List<String> getLocal() {

        return threadLocal.get();
    }
}
